/**
 * Copyright (C), 2020, JieYi Software System Co., Ltd.
 * All rights reserved.
 * FileName:       SqlUtil.java
 *
 * @Description:
 * @author: feiwe
 * Modification History:
 * Date         Author        Version        Discription
 * -------------------------------------------------------
 * 2020/11/23      feiwe                         add
 */


package com.fengwei.util;

public class SqlUtil {
    public static String trimLeft(String sql) {
        if (sql.startsWith("\n")) {
            sql = sql.replace("\n", "");
            trimLeft(sql);
        }

        if (sql.startsWith("\r")) {
            sql = sql.replace("\r", "");
            trimLeft(sql);
        }

        return sql;
    }
}
